﻿@{
    Layout = "~/Views/Shared/OA/_Layout.cshtml";
}
<style>
    body { overflow-x: hidden; overflow-y: hidden; }
</style>
<div class="dialog">
    @RenderSection("Main")
    <div class="operate">
        <button class="k-button" onclick="save()">
            <span class="i i-enable"></span><i class="confirmText">确定</i>
        </button>
        <button class="k-button" onclick="back()">
            <span class="i i-disable"></span>取消
        </button>
    </div>
</div>
@RenderBody()
<script>
    jQuery(function ()
    {

        if (typeof title != "undefined")
        {
            top.winSize(title, width, height);
        }
        //alert($(".confirmText").text());
        //$(".confirmText").text("验证");
    });

    function save()
    {
        top.callback(getData());
        if (typeof (isClose) != 'undefined' && isClose == false)
        {
            return;
        }
        top.winClose();
    }

    function back()
    {
        top.winClose();
    }
</script>
@RenderSection("Foot", false)